//
//  AboutUsViewController.swift
//  E-CycleForShop
//
//  Created by enghou on 17/3/8.
//  Copyright © 2017年 xyxorigation. All rights reserved.
//

import UIKit

class AboutUsViewController: BaseViewController {

    var aboutView : AboutUsView?
    
    override func viewDidLoad() {
        super.viewDidLoad()
        self.naviHide = false
        self.defaultBackButton()
        self.title = "关于我们"
        aboutView = AboutUsView.init(frame: self.view.bounds)
        self.view.addSubview(aboutView!)
        aboutView!.owner = self
        aboutView!.descUrl = "https://www.elerecycle.com/erecycle/clientpage/aboutme.html"
//        loadData()
        // Do any additional setup after loading the view.
    }

    func loadData() -> Void {
//        Manager.shared().findAboutUsInfo(id: "1", success: {(model) in
//            if let mod = model as? AboutUsModel {
//                self.aboutView!.descUrl = mod.content
//            }
//        }, fail: {(code) in
//            self.commonAlertMsg(content: YXNetWorkFail)
//        })
    }
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    deinit {
        print("AboutUsViewCtl释放")
    }
    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
